package ooday03;

public abstract class Person {
    String name;
    int age;
    double salary;
    Person(String name,int age,double salary){
        this.name=name;
        this.age=age;
        this.salary=salary;
    }
    void punchIn(){
        System.out.println(name+"打卡上班成功");
    }
    void punchOut(){
        System.out.println(name+"打卡下班成功");
    }
   abstract void finishWork();
}
